package com.example.lhh.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.lhh.user.entity.LhhRole;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author luoHongHu
 * @since 2025-03-25
 */
@Mapper
public interface LhhRoleMapper extends BaseMapper<LhhRole> {
    //通过角色ID获取该角色拥有的权限
    LhhRole getAuthorityByRoleId(String roleId);

}

